<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>clear</title>
    <style>
        img {
            float: left;
        }
        p {
            clear: left;
        }
    </style>
</head>
<body>
    <img src="https://www.baidu.com/img/dong_f5d87adc75aff5d3690392e526a20b6e.gif" alt="">
    <p>这是一段文字</p>
</body>
</html>